package demo;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 62536
 * Date: 2023-11-10
 * Time: 11:25
 */
public abstract class Animal {
    public String name;
    public Animal(String name) {
        this.name = name;
    }
    public abstract void eat();

}
